if(object == null) 
throw new SimpleException("no object was unmarshalled from text");